// ignore_for_file: dangling_library_doc_comments, slash_for_doc_comments

/*** 
 * @Author: Zhong
 * @Date: 2025-03-26 11:38:18
 * @LastEditors: Zhong zhongxiaodong@eenet.com
 * @LastEditTime: 2025-08-21 16:31:57
 * @FilePath: /wan_android_flutter/lib/common_code/configs/app_config.dart
 * @Description: 
 */

import 'package:flutter/foundation.dart';

class AppConfig {
  static String get apiBaseUrl {
    if (kReleaseMode) {
      // 生产环境的 baseUrl
      // return 'https://api.example.com';
      return 'https://www.wanandroid.com';
    } else {
      // 测试环境的 baseUrl
      return 'https://www.wanandroid.com';
    }
  }

  static String get imgPath {
    return 'assets/images/';
  }

  static String get placeholder {
    return 'assets/images/empty.png';
  }
}
